package com.xtaller.lazy.model.base;

import com.baomidou.mybatisplus.annotation.TableField; 
import com.baomidou.mybatisplus.annotation.TableName; 
import com.xtaller.lazy.lib.annotation.Table; 
import lombok.Data; 
import lombok.Data;

import java.util.List;

/** 
* 代码生成 
* @author: Taller  
* @date: 2019/04/15
* @Description: 组织架构信息 
*/ 
@Data 
@TableName(value = "base_department") 
@Table(id = 105) 
public class Department { 
    //@ApiModelProperty(value = "主键ID") 
    @TableField(value = "id") 
    private Long id;

    //@ApiModelProperty(value = "自增id") 
    @TableField(value = "autoId") 
    private Long autoId;

    //@ApiModelProperty(value = "uuid") 
    @TableField(value = "uuid") 
    private String uuid;

    //@ApiModelProperty(value = "部门简称") 
    @TableField(value = "shortName") 
    private String shortName;

    //@ApiModelProperty(value = "部门全称") 
    @TableField(value = "fullName") 
    private String fullName;

    //@ApiModelProperty(value = "上级部门Id") 
    @TableField(value = "parentId") 
    private Long parentId;

    //@ApiModelProperty(value = "备注") 
    @TableField(value = "comments") 
    private String comments;

    //@ApiModelProperty(value = "分类 预留") 
    @TableField(value = "type") 
    private String type;

    //@ApiModelProperty(value = "排序") 
    @TableField(value = "orderNumber") 
    private int orderNumber;

    //@ApiModelProperty(value = "状态 1正常 0停用") 
    @TableField(value = "status") 
    private int status;

    //@ApiModelProperty(value = "创建人") 
    @TableField(value = "createId") 
    private Long createId;

    //@ApiModelProperty(value = "创建时间") 
    @TableField(value = "createTime") 
    private int createTime;

    //@ApiModelProperty(value = "修改人") 
    @TableField(value = "updateId") 
    private Long updateId;

    //@ApiModelProperty(value = "修改时间") 
    @TableField(value = "updateTime") 
    private int updateTime;

    //@ApiModelProperty(value = "乐观锁") 
    @TableField(value = "version") 
    private int version;

    //@ApiModelProperty(value = "逻辑删除 1删除 0正常") 
    @TableField(value = "isDelete") 
    private int isDelete;

} 
